<template>
     <div style="overflow:auto">
       <div class="feedback-header d-flex items-c " style="background:#fff">
      <i class="iconfont icon-fangxiang1 p-all" @click="back"></i>
      <div class="echarts f-1 d-flex jc-c m-r p-r p-r border-b">反馈信息</div>
        </div>
         <div v-for="item in echarts" :key="item._id" style="min-height:1rem;" >
             <!-- <p class="e3">订单编号：{{item._id}}</p> -->
             <div class="f-12 d-flex  p-r m-r e3">  <el-rate class="f-1"
                v-model="item.value"
                disabled
                show-score
                text-color="#ff9900"
                score-template="{value}">
                </el-rate><span >{{item.createdAt}}</span></div>
              <div v-html="item.body" class="p-all m-t p-t"></div>

         </div>
    </div>
</template>

<script>
import { echartFind } from '@/utils/api'
export default {
  data () {
    return {
      echarts: []
    }
  },
  created () {
    let userid = localStorage.getItem('userid')
    echartFind(userid).then(data => {
      // console.log(data)
      this.echarts = data.data.data
    })
  },
  methods: {
    back () {
      this.$router.go(-1)
    }
  }
}
</script>

<style lang="scss" scoped>
img{
    width :0.5rem;
    height :0.5rem;
    margin: 0.1rem;
}
</style>
